<template>
<div>
    <el-form :inline="true" :model="formInline" class="demo-form-inline">
    <el-form-item label="题目分类名称：">
        <el-input v-model="formInline.userDo" placeholder="请输入"></el-input>
    </el-form-item>
    <el-form-item label="分类层级：">
        <el-select v-model="formInline.region" placeholder="请选择">
        <el-option label="简单" value="简单"></el-option>
        <el-option label="中等" value="中等"></el-option>
        <el-option label="困难" value="困难"></el-option>
        </el-select>
    </el-form-item>
    <el-form-item>
        <el-button type="primary" @click="onSubmit">查询</el-button>
    </el-form-item>
    <el-form-item>
        <el-button type="primary" @click="onSubmit">重置</el-button>
    </el-form-item>
    </el-form>
    <el-row>
      <el-button type="primary" >新建题库分类</el-button>
      <el-button type="success" >批量删除</el-button>
    </el-row>
</div>
    
</template>
<script>
  export default {
    data() {
      return {
        formInline: {
          userDo: '',
          region: ''
        }
      }
    },
    methods: {
      onSubmit() {
        console.log('submit!');
      }
    }
  }
</script>